package com.utilcase.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.utilcase.enums.MessageStatus;
import lombok.Data;

/**
 * 
 * @TableName message_log
 */
@TableName(value ="message_log")
@Data
public class MessageLog implements Serializable {
    /**
     * 
     */
    @TableId
    private Long id;

    /**
     * 
     */
    private String messageId;

    /**
     * 
     */
    private String exchange;

    /**
     * 
     */
    private String routingKey;

    /**
     * 
     */
    private String payload;

    /**
     * 
     */
    private MessageStatus status;

    /**
     * 
     */
    private LocalDateTime createdTime;

    /**
     * 
     */
    private LocalDateTime updatedTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}